package com.taiyuan.zfmvp.JUC.CAS;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * @param
 * @Author: zhoufang@si-tech.com.cn
 * @Descriiption: CAS   比较并交换  compareAndSet
 * @Date 2022/10/8
 * @return
 */
public class CasDemo {

    public static void main(String[] args) {

        AtomicInteger atomicInteger = new AtomicInteger(5);

        //atomicInteger.compareAndSet()
    }

}
